net/http.transportRequest.cancelKey (field)
10 uses
net/http (current package)
transport.go#L467: cancelKey cancelKey
transport.go#L580: treq := &transportRequest{Request: req, trace: trace, cancelKey: cancelKey}
transport.go#L1382: t.setReqCanceler(treq.cancelKey, func(error) {})
transport.go#L1387: t.setReqCanceler(treq.cancelKey, func(err error) { cancelc <- err })
transport.go#L2568: if !pc.t.replaceReqCanceler(req.cancelKey, pc.cancelRequest) {
transport.go#L2622: pc.t.setReqCanceler(req.cancelKey, nil)
transport.go#L2638: cancelKey: req.cancelKey,
transport.go#L2671: if canceled || pc.t.replaceReqCanceler(req.cancelKey, nil) {
transport.go#L2695: canceled = pc.t.cancelRequest(req.cancelKey, errRequestCanceled)
transport.go#L2698: canceled = pc.t.cancelRequest(req.cancelKey, req.Context().Err())
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |